<%@page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="">
	<meta name="author" content="">
	
	<link rel="stylesheet" href="${APP_PATH}/bootstrap/css/bootstrap.min.css">
	<link rel="stylesheet" href="${APP_PATH}/css/backstage/main.css">
	<%@include file="/WEB-INF/jsp/common/commoncss.jsp" %>
	<style>
		.tree li {
			list-style-type: none;
			cursor:pointer;
		}
		table tbody tr:nth-child(odd){background:#F4F4F4;}
		table tbody td:nth-child(even){color:#C00;}
	</style>
</head>
<body id="one" class="container">
<button type="button" class="btn btn-primary" onclick="add()" data-toggle="modal" data-target=".bs-example-modal-lg">新增</button>
	<table id="rotationchartTable"></table>
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" id="myModal">
	<div class="modal-dialog modal-lg" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
				<h4 class="modal-title" id="myModalLabel" ></h4>
			</div>
			<div class="modal-body">
				<form action="" class="form-horizontal">
					<div class="form-group">
						<input type="hidden" class="form-control" disabled="disabled" id="id">
						<label for="chartname" class="col-sm-2 control-label">图片名称</label>
						<%--不可修改：disabled="disabled"--%>
						<div class="col-sm-9">
							<input type="text" class="form-control"  id="chartname">
						</div>
					</div>
					<div class="form-group">
						<label for="file" class="col-sm-2 control-label">选择图片</label>
						<div class="col-sm-9">
							<input type="file" id="file" name="file">
						</div>
					</div>
					<div class="form-group">
						<label for="charturl" class="col-sm-2 control-label">图片超链接</label>
						<div class="col-sm-9">
							<input type="text" class="form-control" id="charturl">
						</div>
					</div>
					<div class="form-group">
						<label for="chartorder" class="col-sm-2 control-label" >商品排序</label>
						<div class="col-sm-9">
							<input type="text" class="form-control" id="chartorder">
						</div>
					</div>
					<div class="form-group">
						<label for="productdetails" class="col-sm-2 control-label" >图片详情</label>
						<div class="col-sm-9">
							<input type="text" class="form-control" id="productdetails">
						</div>
					</div>
				</form>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				<button type="button" id="mod-but" class="btn btn-primary" data-dismiss="modal" onclick="" id="sava-edit-btn">保存</button>
			</div>
		</div>
	</div>
</div>

</body>
<%@include file="/WEB-INF/jsp/common/commonjs.jsp" %>
<script src="${APP_PATH}/js/bootstrap-table-zh-CN.js" charset="utf-8"></script>
<script src="${APP_PATH}/js/common/common.js/common.js"></script>
<script src="${APP_PATH}/js/rotationchart/index.js"></script>
</html>
